package com.xxl.dto.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;


/**
 * 返回给前端的视图对象
 * @author xxl
 * @date 2023/3/29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserVo implements Serializable {
    private String username;
    /**
     * 角色名
     */
    private String roleName;
    /**
     * 权限
     */
    private String auth;
    private String email;
    /**
     * 关注数量
     */
    private int likes;
    /**
     * 粉丝数量
     */
    private int followings;
    /**
     * 收藏博客数量
     */
    private int collectBlogNumber;
    private String gender;
    private Date birth;
    private int age;
}
